md-sidenav,
md-sidenav.md-locked-open,
md-sidenav.md-closed.md-locked-open-add-active {
    min-width: 160px !important;
    max-width: 190px !important;
    overflow-y: hidden !important;
}
.md-button{
    min-width: 10em;
    font-size: 1em;
    letter-spacing:0.08em;
}
.md-button.md-warn.md-raised{
    background-color: #EE7942;
}
.md-button.md-primary.md-raised{
    background-color: #104E8B;
}

/*当前位置*/
.user-position{
    color: grey;
    font-size: 1em;
}
/*鼠标悬停变小手*/
.font-cursor-pointer{
    cursor: pointer;
}
/*鼠标悬停红色*/
.font-hover-red:hover{
    color: #F4A137;
}
.font-right{
    text-align: right;
}
.font-center{
    text-align: center;
}
.large-red-price{
    color: #F4A137;
    font-size: x-large
}
/*导航栏*/
/*md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar){
    background-color: #FCFCFC;
    padding: 0px;
}*/
.md-toolbar-tools{
    /*height: 48px;*/
    position: fixed !important;
    /*z-index: 2;*/
    margin: 0;
    border-bottom: 1px solid #a4b7c1;
    color: black;
    background-color: white;
}
/*end*/

/*药品搜索*/

/*hover：鼠标悬停变色*/
.drug-list-hover:hover{
    color: #F4A137;
    background-color: #EBEBEB;
}
.drugs-name{
    font-size: 1.2em;
    font-weight: 500;
    padding-bottom: 1em;
}
.treat{
    color: grey;
    font-size: 0.8em;
}
img.drug-list{
    height: 90px;
    width: 90px;
    border-style:solid;
    border-color: #C5C1AA;
    border-width: 1px;
}
.price-drug-list{
    color: #F4A137;
    font-size: 1.5em;
}
img.drug-info{
    height: 250px;
    width: 250px;
    border-style:solid;
    border-color: #C5C1AA;
    border-width: 1px;
}

/*药品详情页*/
h2.drug-name{
    display: block;
    font-size: 1.5em;
    color: #383838;
    letter-spacing: 0.05em;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
}
.body-info {
    margin-top: 5%;
    margin-left: 5%;
}
.body-info .drug-img {
    height: 300px;
    width: 300px;
    border-style:solid;
    border-color: #C5C1AA;
    border-width: 1px;
}
.drug-content{
    line-height: 200%;
}
.drug-info-key{
    color: #737373;
}
.drug-info-value{
    color: black;
    padding-left:1em;
}
.mini-login{
    display:none;
    position:absolute;
    z-index:2;
    background:white;
    padding :0;
    width: 450px;
    height: 330px;
    border-style:solid;
    border-color: #C5C1AA;
    border-width: 1px;
}
.mini-login .login-title {
    padding: 3%;
    width: 100%;
    height: 50px;
    font-size: 1em;
    text-align: left;
    letter-spacing: 0.08em;
    color: white;
    background-color: #5293ed;
}
.login-content{
    padding: 5% 5% 1% 5%;
}
.login-close{
    width: 20px;
    height: 20px;
    cursor: pointer;
    text-align: center;
}
.login-close:hover{
    background-color: #dbdbdb;
}
.cover{
    display:none;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    z-index:1;
    background-color:#000;
    opacity:0.3;
}
/*购物车页*/
.table-cart-tbody{
    padding: 1em;
}
.table-cart-drugInfo{
    text-align: left;
    padding: 1em;
}
.table-cart{
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 8%;
}
.table-cart-th{
    padding-bottom: 1.5em;
}
img.drug-cart{
    width: 50px;
    height: 50px;
    border-style:solid;
    border-color: #C5C1AA;
    border-width: 1px;
}
.table-cart-drugName{
    padding-left: 5%;
    cursor: pointer;
}
.table-item:hover{
    background-color: #EBEBEB;
}
/*首页 轮播*/
.lunbo{
    width: 1000px;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-top: 2%;
    margin-bottom: 5%;
}
/*鼠标焦点不在img上时隐藏btn，在img/btn上时btn透明度不同*/
.btn{
    position: absolute;
    display: block;
    top: 45%;
    width: 30px;
    height: 40px;
    line-height: 40px;
    font-size: larger;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    color: white;
}
.prev{
    left: 0;
}
.next{
    right: 0;
}
.lunbo:hover .btn{
    opacity: .4;
    background-color: #000000;
}
.lunbo:hover .btn:hover{
    opacity: .8;
}
.imgList{
    width: 1000px;
    height: 410px;
    position: absolute;
    float: left;
}
.imgList img{
    width: 1000px;
    height: 410px;
    float: left;
}
.lunbo .buttons{
    position: absolute;
    width: 100%;
    bottom: 10px;
    left: 0;
    text-align: center;

}
.lunbo .buttons span {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    cursor: pointer;
}
.lunbo .buttons .on {
    background-color: orange;
}
/*首页内容*/
.drug-class {
    width: 95%;
    margin: auto;
}
.drug-class .class-name {
    width: 5em;
    font-size: 1.5em;
    text-align: left;
    border-top: 2px solid #ffac08;
}
.drug-class .some-drug .drug-info {
    float: left;
    margin: 2% 1%;
    padding: 1%;
    border: 1px solid #dddddd;
    width: 225px;
    height: 290px;
    cursor: pointer;
}
@media only screen and (max-width: 500px) {
    .drug-class .some-drug {
        margin: auto;
    }
    .drug-class .some-drug .drug-info {
        float: left;
        margin: 2% 1%;
        padding: 1%;
        border: 1px solid #dddddd;
        width: 45%;
        height: 50%;
        cursor: pointer;
    }
}
.drug-class .some-drug .drug-info:hover {
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
    color: #F4A137;
}
.drug-class .some-drug .drug-info img {
    width: 100%;
    height: 200px;
    margin-bottom: 3%;
}
.drug-class .some-drug .drug-info .drug-name {
    padding-bottom: 3%;
    font-size: 1.1em;
    letter-spacing: 0.02em;
}
.drug-class .some-drug .drug-info .price {
    color: #F4A137;
}
/*end*/

/*注册*/
.warn {
    color: #cd0b2c;
}
/*end*/

/*药店管理员 - 订单详情*/
.order-info {
    width: 500px;
    line-height:200%
}
@media only screen and (max-width: 600px) {
    .order-info {
        width: 90%;
    }
}
.order-info .order-id {
    font-size: 2em;
}
.order-info .order-status {
    font-size: 1.5em;
}
.order-info .user-info {
    margin-bottom: 2%;
}
.order-info .order-item {
    padding: 3% 0 3% 2%;
    color: #7e7e7e;
}
.order-info .total-price {
    font-size: x-large;
    color: #f48f2a;
}
.order-info .order-foot {
    margin: 2% 0 2% 0;
}
/*用户 - 订单详情*/
.order-info .pharmacy-name {
    font-size: larger;
    font-weight: 600;
}
/*用户 - 订单列表*/
.not-login-info {
    margin-top: 10%;
    line-height: 200%;
}
.not-login-info img {
    margin-right: 3%;
}
.not-login-info .redirect {
    color: #f4992f;
}
.not-login-info .redirect:hover {
    font-weight: bold;
    color: #F4781B;
}
.table-cart .table-item .table-cart-tbody .pharmacy-name {
    font-size: 1em;
    font-weight: bold;
}
.table-cart .table-item .table-cart-tbody .time {
    padding-top: 1em;
    color: #7e7e7e;
}
/*库存管理*/
.status {
    margin-top: 30px;
    font-size: 20px;
    color: #f42513;
}